package com.thh.project.common.exception;

import com.thh.project.model.common.enums.AppHttpCodeEnum;

public class ExceptionCast {
    //使用此静态方法抛出自定义异常
    public static void castCommonException(AppHttpCodeEnum appHttpCodeEnum) {
        throw new CommonException(appHttpCodeEnum);
    }
}